package com.itheima.tlias.config;

import com.itheima.tlias.utils.AliyunOSSOperator;
import com.itheima.tlias.utils.AliyunOSSProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AliyunOSSOperatorConfig {
	@Bean
	public AliyunOSSOperator aliyunOSSOperator(AliyunOSSProperties aliyunOSSProperties) {
		return new AliyunOSSOperator(aliyunOSSProperties);
	}
}

